<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>判断成绩案例</title>
		<script type="text/javascript">
			var score = prompt('请输入您的分数:');
			if(score >= 90){
				alert('宝贝，你真棒!')
			}else if (score >= 80) {
				alert('宝贝,你很出色!')
			}else if(score >= 70) {
				alert('宝贝,你要加油喽!')
			}else if(score >= 60) {
				alert('你很危险哦!')
			}else {
				alert('加油哦')
			}
		</script>
	</head>
	<body>
	</body>
</html>
